from api import app
from sql import pool1
import signal

# def beforeExit():
#     # 关闭数据库连接
    

if __name__ == '__main__':
    from waitress import serve
    serve(app, host="0.0.0.0", port=3000)
